From 0f740527862972f8998dbb4a734d8c0c1baa01d2 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 31 Jul 2008 16:13:22 +0100 Subject: [PATCH] pass IOEMU_CONFIGURE_CROSS to ioemu-remote/xen-setup Add --cpu to IOEMU_CONFIGURE_CROSS since otherwise qemu uses the output of `uname -m` even for cross-building. Pass IOEMU_CONFIGURE_CROSS to xen-setup which passes it on to ioemu/configure. Signed-off-by: Aron Griffis --- tools/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index ff4175de9e..bcc9fb8d0a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -55,7 +55,8 @@ install: subdirs-install clean distclean: subdirs-clean ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) -IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \ +IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \ + --cross-prefix=$(CROSS_COMPILE) \ --interp-prefix=$(CROSS_SYS_ROOT) endif @@ -96,7 +97,7 @@ ioemu-dir-find: esac; \ export XEN_ROOT; \ cd ioemu-dir; \ - ./xen-setup + ./xen-setup $(IOEMU_CONFIGURE_CROSS) subdir-all-ioemu-dir subdir-install-ioemu-dir: ioemu-dir-find -- 2.30.2